define(['durandal/system'], function(system) {
	return {
		activate: function(activationData) {
			//activationData by compose binding 
			//like route value by router
			system.log('mod2 is activate');
		},
		binding: function(child, parent, settings) {
			system.log('mod2 is binding');
			//return false;等同于 return { applyBindings:false };
		},
		bindingComplete: function(view) {
			system.log('mod2 is bindingComplete');
		},
		attached: function(child, parent, settings) {
			system.log('mod2 is attached');
		},
		compositionComplete: function(child, parent, settings) {
			system.log('mod2 is compositionComplete');
		},
		detached: function(view, parent) {
			system.log('mod2 is detached');
		}
	}
})